projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1181c60
)
Fix argument parser for rcirc-define-command with string input
author
Philip Kaludercic
<philipk@posteo.net>
Tue, 15 Jun 2021 21:12:02 +0000
(23:12 +0200)
committer
Philip Kaludercic
<philipk@posteo.net>
Tue, 15 Jun 2021 21:12:02 +0000
(23:12 +0200)
* rcirc.el (rcirc-define-command): Require at least one space between
arguments
lisp/net/rcirc.el
patch
|
blob
|
history
diff --git
a/lisp/net/rcirc.el
b/lisp/net/rcirc.el
index dfa80bb4089a923f4638f63bba688d96acbbb222..4d98d65d58aa28def8d32976b48eaaa8ff2abe70 100644
(file)
--- a/
lisp/net/rcirc.el
+++ b/
lisp/net/rcirc.el
@@
-2403,8
+2403,8
@@
that, an interactive form can specified."
(insert "\\`")
(when arguments
(dotimes (_ (1- (length arguments)))
- (insert "\\(?:\\(.+?\\)
[[:space:]]*
"))
- (insert "\\(
.*
\\)")
+ (insert "\\(?:\\(.+?\\)"))
+ (insert "\\(
?:[[:space:]]+\\(.*\\)
\\)")
(dotimes (i (1- (length arguments)))
(when (< i optional)
(insert "?"))